package com.cloud.eurekahystrixconsumer;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 务必开启feign，否则 调用其他服务的service无法注入
 */
@EnableFeignClients
@SpringCloudApplication
public class EurekaHystrixConsumerApplication {

	public static void main(String[] args) {
		SpringApplication.run(EurekaHystrixConsumerApplication.class, args);
	}

}
